package com.demo.component.base;

import org.springframework.http.HttpStatusCode;

import java.net.URI;

@FunctionalInterface
public interface RestTemplateRetryHandler {
    boolean shouldRetry(URI uri, String verb, HttpStatusCode httpStatusCode, String errorMessage);
}